﻿namespace Common.Interop
{
    using System;
    using System.Runtime.InteropServices;

    class User32
    {
        [DllImport( "User32.dll", CharSet = CharSet.Auto )]
        public static extern IntPtr SetClipboardViewer( IntPtr hWnd );

        [DllImport( "User32.dll", CharSet = CharSet.Auto )]
        public static extern bool ChangeClipboardChain(
            IntPtr hWndRemove,  // handle to window to remove
            IntPtr hWndNewNext  // handle to next window
            );

        [DllImport( "user32.dll", CharSet = CharSet.Auto )]
        public static extern int SendMessage( IntPtr hwnd, int wMsg, IntPtr wParam, IntPtr lParam );

    }
}
